package com.itheima.demo05;

public class Demo {
    public static void main(String[] args) {
        Foodie f = new Foodie();
        Cooker c = new Cooker();
        Thread t1 = new Thread(f);
        Thread t2 = new Thread(c);
        t1.start();
        t2.start();
    }
}
